.disabled {
  pointer-events: none;
}

.icon-small {
    width: 18px;
    height: 18px;
    margin: 0px 8px;
    background-size: contain;
    background-repeat: no-repeat;
}
.lock{
    background-image: url(../icons/lock.svg?q=2);
}

.cs_logo {
    background-size: contain;
    background-repeat: no-repeat;
    height: 40px;
    margin: 16px 0px;
    margin-bottom: -6px;
}
.cs_carousel-container {
    display: flex;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 16px 10%;
    flex-wrap: wrap;
    justify-content: center;
    background: linear-gradient(355deg, var(--primary-color-1) -60%, black);
}

/* Scrollbar styling */
.cs_carousel-container::-webkit-scrollbar {
  height: 8px;
}
.cs_carousel-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

/* Card */
.cs_card {
  flex: 0 0 auto;
  width: 300px;
  scroll-snap-align: start;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  cursor: default;
  user-select: none;
  transition: all .2s ease-in-out;
  flex-grow:1;
}

.cs_card:hover,
.card:hover {
  transform: translateY(-4px);
}

/* Card image */
.cs_carousel-container .cs_card img {
  width: 100%;
  min-width: 100%;
  min-height: 213px;
  background-color: #e4e4e4;

  transition: transform 0.3s ease-in-out; /* smooth transition */
}


/* Card text */
.cs_card p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.cs_card h4 {
    font-size: 1.4em;
    line-height: 1.5em;
    margin: 16px 0;
    font-weight: 500;
    text-align: left;
}

/* Info section */
.cs_info {
  padding: 0 16px;
  flex-grow: 1;
  text-align:left;
}

/* Tags */
.cs_tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 1px 16px;
}

.cs_tags div {
  font-size: 14px;
  padding: 4px 8px;
  background-color: #f4f4f4;
  border-radius: 6px;
  max-width: 110px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Meta info */
.cs_industry {
  color: black;
  font-size: 16px;
  display: inline-block;
  font-weight: 500;
}

.cs_meta {
  margin-bottom: 16px;
}

/* Button */
.cs_button {
    padding: 0.8em 1.5em;
    border: none;
    border-radius: 8px;
    background: #ecf3ff;
    color: #3e6fec;
    font-size: 1em;
    cursor: pointer;
    display: flex;
    justify-content: center;
    font-weight: 600;
    margin: 0 16px 16px;
    transition: all .2s ease-in-out;
    align-content: center;
    align-items: center;
}
.card:hover .button,
.cs_card:hover .cs_button {
  background: #d9e4f7;
}

a {
  text-decoration: none;
}


@media only screen and (max-width: 600px) {
    .cs_card {
        flex: 1 0 100%;
        width:100%;
        flex-grow:1;
    }
    .cs_carousel-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 20px;
        flex-wrap: wrap;
        justify-content: center;
        background: linear-gradient(355deg, var(--primary-color-1) -60%, black);
    }
}
